<form action="<?php echo url_for("@create_payment_invoice_depositBank?invoice_id=".$form->getObject()->getInvoice()->getId()) ?>" method="post" >
<table>
<?php echo $form ?>
    <tr>
        
        <td colspan="2"><input type="submit" value="<?php echo __("Registrar mi Pago") ?>"></td>
    </tr>
</table>
    
</form>